package com.ruoyi.teach.service;

import java.util.List;
import com.ruoyi.teach.domain.CrmCustomer;

/**
 * 客户Service接口
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public interface ICrmCustomerService 
{
    /**
     * 查询客户
     * 
     * @param cId 客户主键
     * @return 客户
     */
    public CrmCustomer selectCrmCustomerByCId(Long cId);

    /**
     * 查询客户列表
     * 
     * @param crmCustomer 客户
     * @return 客户集合
     */
    public List<CrmCustomer> selectCrmCustomerList(CrmCustomer crmCustomer);

    /**
     * 新增客户
     * 
     * @param crmCustomer 客户
     * @return 结果
     */
    public int insertCrmCustomer(CrmCustomer crmCustomer);

    /**
     * 修改客户
     * 
     * @param crmCustomer 客户
     * @return 结果
     */
    public int updateCrmCustomer(CrmCustomer crmCustomer);

    /**
     * 批量删除客户
     * 
     * @param cIds 需要删除的客户主键集合
     * @return 结果
     */
    public int deleteCrmCustomerByCIds(Long[] cIds);

    /**
     * 删除客户信息
     * 
     * @param cId 客户主键
     * @return 结果
     */
    public int deleteCrmCustomerByCId(Long cId);
}
